﻿using System;
using Nb.Common.Domains;

namespace Nb.LMS.Domains.Manufacturers
{
    /// <summary>
    /// 厂商
    /// </summary>
    public class Manufacturer : BaseAggregateRoot
    {
        public string Code { get; set; }
        public string Name { get; set; }
        public ManufacturerType ManufacturerType { get; set; }
        public DateTime CreateAt { get; set; }
        public string CreateBy { get; set; }
        public KeyPair KeyPair { get; set; }
    }

    /// <summary>
    /// 厂商类型
    /// </summary>
    public enum ManufacturerType
    {
        OEM = 1,
        Partner =2,
        Nb = 3
    }
}